package com.ygl.strategy.matcher;

import org.springframework.util.AntPathMatcher;

/**
 * author: yanggld
 * date: 2019/12/21 21:46
 * version: 1.0
 * description: DiscoveryAntPathMatcherStrategy
 */
public class DiscoveryAntPathMatcherStrategy implements DiscoveryMatcherStrategy {
    private AntPathMatcher matcher = new AntPathMatcher();

    @Override
    public boolean match(String pattern, String value) {
        return matcher.match(pattern, value);
    }
}
